import request from '@/utils/request'


// 供水设施震害预测等级查询
export function getAllWsfCoefficient (query) {
    return request({
      url: '/wsfCoefficient/getAllWsfCoefficient',
      method: 'get',
      params: query
    })
  }

//供水设施震害预测等级添加或修改
export function saveOrUpdateWsfCoefficient (data) {
    return request({
      url: '/wsfCoefficient/saveOrUpdateWsfCoefficient',
      method: 'post',
      data: data
    })
  }

  //供水设施震害预测等级删除
  export function deleteWsfCoefficientById (query) {
    return request({
      url: '/wsfCoefficient/deleteWsfCoefficientById',
      method: 'get',
      params: query
    })
  }

  // v与纵向受拉钢筋表面形状有关的系数查询
export function getAllRsRatio (query) {
    return request({
      url: '/wsfCoefficient/getAllRsRatio',
      method: 'get',
      params: query
    })
  }

//v与纵向受拉钢筋表面形状有关的系数添加或修改
export function saveOrUpdateRsRatio (data) {
    return request({
      url: '/wsfCoefficient/saveOrUpdateRsRatio',
      method: 'post',
      data: data
    })
  }

  //v与纵向受拉钢筋表面形状有关的系数删除
  export function deleteRsRatioById (query) {
    return request({
      url: '/wsfCoefficient/deleteRsRatioById',
      method: 'get',
      params: query
    })
  }